# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=stagit
pkgver=0.9.3
pkgrel=0
pkgdesc="static git page generator"
url="https://www.codemadness.org/stagit.html"
arch="all"
license="MIT"
options="!check" # No tests exist
makedepends="libgit2-dev"
subpackages="$pkgname-doc"
source="https://codemadness.org/releases/stagit/stagit-$pkgver.tar.gz"

build() {
	make
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" MANPREFIX=/usr/share/man install
}

sha512sums="94934fb94f2798155a036922394de3d8b80b01dd3199269715e4d1867b7911e3290e1b8bc175b83b0a42d307d6b3e1d75268fa51e576a0a1baf9b88434e8aca9  stagit-0.9.3.tar.gz"
